package com.yeqifu.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeqifu.sys.entity.Shelf;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 连安利
 * @version 1.0
 * @date 2020/12/21 11:21
 */
public interface ShelfMapper extends BaseMapper<Shelf> {
    /**
     * 查询当前用户拥有的货架集合
     * @param id
     * @return
     */
    List<Shelf> queryUserShelfByUid(@Param("id") Integer id);
}
